<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // var sum=0;
        // for(var m=0,n=0;m<10,n<5;m++,n++){
        //     sum=m+n;
        // }
        // console.log(sum);

        for(var m=0;m<5;m++){
            for(var n=0;n<=m;n++){
                document.write("⭐");
            }
            document.write("<br>");
        }
    </script>
</body>
</html>